package legoproject.Behaviors;

import java.util.ArrayList;
import legoproject.*;

public class HomingOnlyLight implements Behavior{


    public boolean condition() {
        return GarbageCollector.garbageInGrab;

    }

    public ArrayList behave() {
        ArrayList result = new ArrayList();
        result.add(new Instruction(InstructionType.FINDHOMETHENDRIVE, 0, 0 ));
        return result;

    }


}
